package com.senyint.imsdk;

import org.jivesoftware.smack.packet.Packet;

public class SendPacketException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2363114435580701283L;

	private Packet packet ;

	public SendPacketException() {
	}

	public SendPacketException(Packet packet,String detailMessage) {
		super(detailMessage);
		this.packet = packet ;
	}

	public Packet getPacket() {
		return packet;
	}

	public SendPacketException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public SendPacketException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}

	public SendPacketException(String message, Throwable cause) {
		super(message, cause);
		// TODO Auto-generated constructor stub
	}

	public SendPacketException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		// TODO Auto-generated constructor stub
	}

}
